<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<style type="text/css">
.dateWidth1{
   width:195px;
}
.select_width{
   width:130px;
}
</style>
<x:parse xml="${param.xmlstr}" var="xmlData" />

<table class="t_css" width="100%" border="0" cellpadding="0" id="basicInfo"
	cellspacing="1">
	<tr>
		<td   colspan="6" class="t_bar2">基本信息</td>
		
	</tr>
	<tr>
		<td  align="right"><span class="color_red">*</span>基地名称：</td>
		<td  colspan="5">
			<input name="proposal/zh_title" label="基地名称" type="text" required class="input_css required "  style="width: 680px;" maxlength="60" value="<x:out select="$xmlData/data/proposal/zh_title" />"/> 
		</td>
	</tr>
	
	<tr>
		<td  align="right"><span class="color_red">*</span>创建主体：</td>
		<td  colspan="5">
			<input name="proposal/subject" label="创建主体" type="text" required class="input_css required "  style="width: 680px;" maxlength="60" value="<x:out select="$xmlData/data/proposal/subject" />"/> 
		</td>
	</tr>
	
	<tr>
	<td align="right"><span class="color_red">*</span>出口基地级别：</td>
	<td nowrap colspan="3" valign="middle">
	<label> <input type="radio" class="do " id="advant_01" style="vertical-align: middle;" name="research" label="国家级" value="01" /><span style="vertical-align: middle;">国家级</span></label> 
	<label> <input type="radio" class="do " id="advant_02" style="vertical-align: middle;" name="research" label="省级" value="02" /><span style="vertical-align: middle;">省级</span></label> 
    <input type="hidden" name="proposal/research_value" id="research_value" class="required" value="<x:out select="$xmlData/data/proposal/research_value" />" label="出口基地级别" /> 
	<input type="hidden" name="proposal/research_name" id="research_name" value="<x:out select="$xmlData/data/proposal/research_name" />" label="出口基地级别" /></td>
	<td  align="right" nowrap><span class="color_red">*</span>获得称号时间：</td>
		<td  nowrap>
			<c:set var="title_date"><x:out select="$xmlData/data/proposal/title_date" /></c:set>
			<cpt:date id="title_date" name="proposal/title_date" className="required date" label="获得称号时间"  value="${title_date}" ></cpt:date> 
		</td>
	
	</tr>
	
	
	
	<tr>
	<td  align="right"><span class="color_red">*</span>基地地址：</td>
		<td  colspan="3">
			<input name="proposal/yq_address" label="基地地址" type="text" required class="input_css required " style="width:80%"  maxlength="60" value="<x:out select="$xmlData/data/proposal/yq_address" />"/> 
		</td>
	<td  align="right"><span class="color_red">*</span>基地面积(㎡)：</td>
	<td  >
			<input name="proposal/yq_area" id="yq_area" label="基地面积" type="text" required class="input_css required " style="text-align: right" onfocus="InitInput.setNumber(this,7,2,2)"	 value="<x:out select="$xmlData/data/proposal/yq_area" />"/>
	</td>
	
	</tr>
	<tr>
	<td rowspan="4" align="right" width="16%"><span class="color_red">*</span>基地入驻企业数：</td>
	<td rowspan="4" width="16%"><input name="proposal/yq_total" id="yq_total" onchange="percentage('yq_total','yq_whqy','yq_whqybl');percentage('yq_total','yq_low','yq_lowbl');percentage('yq_total','yq_middle','yq_middlebl');percentage('yq_total','yq_hight','yq_hightbl');" label="基地入驻企业数" type="text" required class="input_css required " style="text-align: right" onfocus="InitInput.setNumber(this,7,0,0)"	 value="<x:out select="$xmlData/data/proposal/yq_total" />"/></td>
	<td align="right" width="16%"><span class="color_red">*</span>其中基地特色企业数(如摩托车出口基地内的摩托车出口企业)：</td>
	<td width="16%"><input name="proposal/yq_whqy" id="yq_whqy" onchange="percentage('yq_total','yq_whqy','yq_whqybl');" label="其中基地特色企业数" type="text" required class="input_css required  valueGreatEqual:yq_total:yq_whqy" style="text-align: right" onfocus="InitInput.setNumber(this,7,0,0)"	 value="<x:out select="$xmlData/data/proposal/yq_whqy" />"/></td>
	<td align="right" width="16%">占比：</td>
	<td width="16%"><span name="proposal/yq_whqybl" id="yq_whqybl"><x:out select="$xmlData/data/proposal/yq_whqybl" /></span></td>
	</tr>
	<tr>
	<td align="right" nowrap><span class="color_red">*</span>其中出口超千万美元企业数：</td>
	<td><input name="proposal/yq_low" id="yq_low" onchange="percentage('yq_total','yq_low','yq_lowbl');" label="其中出口超千万美元企业数" type="text" required class="input_css required valueGreatEqual:yq_total:yq_low" style="text-align: right" onfocus="InitInput.setNumber(this,7,0,0)"	 value="<x:out select="$xmlData/data/proposal/yq_low" />"/></td>
	<td align="right">占比：</td>
	<td><span name="proposal/yq_lowbl" id="yq_lowbl" ><x:out select="$xmlData/data/proposal/yq_lowbl" /></span></td>
	</tr>
	<tr>
	<td align="right" nowrap><span class="color_red">*</span>其中出口超三千万美元企业数：</td>
	<td><input name="proposal/yq_middle" id="yq_middle" onchange="percentage('yq_total','yq_middle','yq_middlebl');" label="其中出口超三千万美元企业数" type="text" required class="input_css required valueGreatEqual:yq_total:yq_middle" style="text-align: right" onfocus="InitInput.setNumber(this,7,0,0)"	 value="<x:out select="$xmlData/data/proposal/yq_middle" />"/></td>
	<td align="right">占比：</td>
	<td><span name="proposal/yq_middlebl" id="yq_middlebl"><x:out select="$xmlData/data/proposal/yq_middlebl" /></span></td>
	</tr>
	<tr>
	<td align="right" nowrap><span class="color_red">*</span>其中出口超五千万美元企业数：</td>
	<td ><input name="proposal/yq_hight" id="yq_hight" onchange="percentage('yq_total','yq_hight','yq_hightbl');" label="其中出口超五千万美元企业数" type="text" required class="input_css required valueGreatEqual:yq_total:yq_hight" style="text-align: right" onfocus="InitInput.setNumber(this,7,0,0)"	 value="<x:out select="$xmlData/data/proposal/yq_hight" />"/></td>
	<td align="right">占比：</td>
	<td><span name="proposal/yq_hightbl" id="yq_hightbl"><x:out select="$xmlData/data/proposal/yq_hightbl" /></span></td>
	</tr>
<tr>
		<td  align="right"><span class="color_red">*</span>基地内平台数：</td>
		<td  colspan="5">
			<input name="proposal/jd_number" label="基地内平台数" type="text" required class="input_css required "  style="text-align: right" onfocus="InitInput.setNumber(this,7,0,0)" value="<x:out select="$xmlData/data/proposal/jd_number" />"/> 
		</td>
	</tr>
	
	<tr>
		<td  align="right" nowrap><span class="color_red">*</span>平台主要功能：</td>
		<td nowrap colspan="5">
			<c:set var="main_function"><x:out select="$xmlData/data/proposal/main_function_value" /></c:set>
			<cpt:checkbox key="main_function" name="main_function" repeatColumn="7" style="border: 0px; padding: 0px; margin: 0px;float:left;"></cpt:checkbox>
			<input type="hidden" id="main_function_value" name="proposal/main_function_value" class="required" value="${main_function}" label="平台主要功能">
			<input type="hidden" name="proposal/main_function_name" value="<x:out select="$xmlData/data/proposal/main_function_name" />">
		</td>
	</tr>
	
		<tr>
	    <td  align="right" nowrap><span class="color_red">*</span>申报日期：</td>
		<td colspan="5" nowrap>
			<c:set var="submit_date"><x:out select="$xmlData/data/proposal/submit_date" /></c:set>
			<cpt:date id="submit_date" name="proposal/submit_date" value="${submit_date}" className=" required date" label="申报日期"></cpt:date> 
		</td>
		
	</tr>

</table>

<div class="t_bar">上年度基地企业经济效益（万元）</div>
<table class="table01 t_css" width="100%" border="0" cellpadding="0" id="basicInfoyq"
	cellspacing="1">
	<tr>
	<td align="right" width="16%"><span class="color_red">*</span>销售总额：</td>
	<td width="16%"><input name="proposal/sell_total" label="销售总额" type="text" id="sell_total"  class="input_css required valueCompare:wh_sell:sell_total" style="text-align: right" onfocus="InitInput.setNumber(this,7,4,2)"	 value="<x:out select="$xmlData/data/proposal/sell_total" />"/></td>
	<td align="right" width="16%"><span class="color_red">*</span>特色企业销售：</td>
	<td width="16%"><input name="proposal/wh_sell" label="特色企业销售" type="text" id="wh_sell"  class="input_css required " style="text-align: right" onfocus="InitInput.setNumber(this,7,4,2)"	 value="<x:out select="$xmlData/data/proposal/wh_sell" />"/></td>
	<td align="right" width="16%"><span class="color_red">*</span>同比增幅（%）：</td>
	<td width="16%"><input name="proposal/increate_sell" label="特色企业销售->同比增幅" type="text"  class="input_css required " style="text-align: right" onfocus="InitInput.setNumber(this,7,2,2,null,true)"	 value="<x:out select="$xmlData/data/proposal/increate_sell" />"/></td>
	</tr>
	<tr>
	<td align="right"><span class="color_red">*</span>利润总额：</td>
	<td ><input name="proposal/profit_total" label="利润总额" type="text" id="profit_total" class="input_css required valueCompare:wh_profit:profit_total" style="text-align: right" onfocus="InitInput.setNumber(this,7,4,2)"	 value="<x:out select="$xmlData/data/proposal/profit_total" />"/></td>
	<td align="right"><span class="color_red">*</span>特色企业利润：</td>
	<td><input name="proposal/wh_profit" label="特色企业利润" type="text" id="wh_profit" class="input_css required " style="text-align: right" onfocus="InitInput.setNumber(this,7,4,2)"	 value="<x:out select="$xmlData/data/proposal/wh_profit" />"/></td>
	<td align="right"><span class="color_red">*</span>同比增幅（%）：</td>
	<td><input name="proposal/increate_profit" label="特色企业利润->同比增幅" type="text"  class="input_css required " style="text-align: right" onfocus="InitInput.setNumber(this,7,2,2,null,true)"	 value="<x:out select="$xmlData/data/proposal/increate_profit" />"/></td>
	</tr>
	<tr>
	<td align="right"><span class="color_red">*</span>税收总额：</td>
	<td ><input name="proposal/tax_total" label="税收总额" type="text" id="tax_total" class="input_css required valueCompare:wh_tax:tax_total" style="text-align: right" onfocus="InitInput.setNumber(this,7,4,2)"	 value="<x:out select="$xmlData/data/proposal/tax_total" />"/></td>
	<td align="right"><span class="color_red">*</span>特色企业税收：</td>
	<td><input name="proposal/wh_tax" label="特色企业税收" type="text" id="wh_tax" class="input_css required " style="text-align: right" onfocus="InitInput.setNumber(this,7,4,2)"	 value="<x:out select="$xmlData/data/proposal/wh_tax" />"/></td>
	<td align="right"><span class="color_red">*</span>同比增幅（%）：</td>
	<td><input name="proposal/increate_tax" label="特色企业税收->同比增幅" type="text"  class="input_css required " style="text-align: right" onfocus="InitInput.setNumber(this,7,2,2,null,true)"	 value="<x:out select="$xmlData/data/proposal/increate_tax" />"/></td>
	</tr>
</table>
	
<table class="table01 t_css" width="100%" border="0" cellpadding="0" cellspacing="1">
	
	<tr>
		<td   colspan="6" class="t_bar2">申报项目资金情况（金额单位：万元）</td>
		
	</tr>
	<tr>
		<td  align="right"  >项目类别：</td>
		<td   colspan="5"><x:out select="$xmlData/data/proposal/grant_name" />
		</td> 
		
		
	</tr>
	<tr>
	<td   align="right">项目计划投入总额：</td>
	<td  colspan="1">
	<input  name="proposal/plan_total" id="plan_total" disabled   type="text"  class="input_css  gray"  style="text-align: right"  value="<x:out select="$xmlData/data/proposal/plan_total" />"/> 
	</td>
	<td   align="right">已完成投资：</td>
	<td  colspan="3">
	<input  name="proposal/finish_budget" id="finish_budget" class="gray " disabled label="已完成投资" type="text"  class="input_css gray" style="text-align: right"  value="<x:out select="$xmlData/data/proposal/finish_budget" />"/> 
	</td>
	</tr>
	
	<tr>
	<td   align="right">计划新增投资：</td>
	<td  colspan="1">
	<input  name="proposal/plan_add_budget" id="plan_add_budget" disabled  label="计划新增投资" type="text"  class="input_css  gray" style="text-align: right"  value="<x:out select="$xmlData/data/proposal/plan_add_budget" />"/> 
	</td>
	<td   align="right">申请金额：</td>
	<td  colspan="3">
	<input  name="proposal/source_apply"  id="sqje" disabled label="申请金额" type="text"  class="input_css gray" style="text-align: right"  value="<x:out select="$xmlData/data/proposal/source_apply" />"/> 
	</td>
	</tr>

	<tr>
	<td  align="right">支持方式：</td>
		<td  >
			<span name="proposal/sponsor_category"><x:out select="$xmlData/data/proposal/sponsor_category" /></span> 
		</td>
		
		<td  align="right">资金级次：</td>
		<td colspan="3">
		<span  name="proposal/fund_level">市级</span>
		</td>
	</tr>
	<tr>
	<td  align="right" nowrap>归口管理部门：</td>
		<td  ><span name="proposal/org_name">无锡市商务局</span> </td>
	    <td  align="right">管理类别：</td>
		<td  colspan="3">
		<span name="proposal/manage_category"><x:out select="$xmlData/data/proposal/manage_category" /></span>
		</td>
		
	</tr>
	
	<tr style="display:none"><td></td></tr>
	<tr>
		<td  align="right" nowrap><span class="color_red">*</span>项目所属产业：</td>
		<td nowrap colspan="5">
			<c:set var="industry"><x:out select="$xmlData/data/proposal/industry_value" /></c:set>
			<cpt:checkbox key="industry" name="industry" repeatColumn="5" style="border: 0px; padding: 0px; margin: 0px;float:left;"></cpt:checkbox>
			<input type="hidden" id="industry_value" name="proposal/industry_value" class="required" value="${industry}" label="项目所属产业">
			<input type="hidden" name="proposal/industry_name" value="<x:out select="$xmlData/data/proposal/industry_name" />">
		</td>
	</tr>
	<tr>
	    <td  align="right">功能分类：</td>
		<td  colspan="5">
		<span name="proposal/grant_function"><x:out select="$xmlData/data/proposal/grant_function" /></span>
		</td>
		
	</tr>
	</table>
	<table  width="100%" border="0" cellpadding="0" cellspacing="1">
	<tr>
		<td    class="t_bar2">申请资助依据条款</td>
		
	</tr>
	<tr>
		<td >
		&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
		<span name="proposal/policy_foundation"><x:out select="$xmlData/data/proposal/policy_foundation" /></span> 
		</td>
	</tr>
</table>
<br/>


<table class="t_css" width="100%" border="0" cellpadding="0" cellspacing="1">
<tr>
		<td    class="t_bar2" colspan="8">人员信息</td>
		
	</tr>
<tr>
		<td  align="right"><span class="color_red">*</span>项目联系人：</td>
		<td  >
			<input  name="proposal/contact_psn_cname" label="项目联系人" type="text" required class="input_css required"   maxlength="100" value="<x:out select="$xmlData/data/proposal/contact_psn_cname" />"/> 
		</td>
		<td  align="right"><span class="color_red">*</span>联系电话：</td>
		<td  >
			<input  name="proposal/contact_psn_tel" label="联系电话" type="text" required class="input_css required"   maxlength="50" value="<x:out select="$xmlData/data/proposal/contact_psn_tel" />"/> 
		</td>
		<td  align="right"><span class="color_red">*</span>联系手机：</td>
		<td  >
			<input  name="proposal/contact_psn_mobile" label="联系手机" type="text" required maxlength="11" required class="input_css required mobile"   maxlength="20" value="<x:out select="$xmlData/data/proposal/contact_psn_mobile" />"/> 
		</td>
		<td  align="right"><span class="color_red">*</span>电子邮箱：</td>
		<td  >
			<input  name="proposal/contact_psn_email" label="电子邮箱" type="text" required class="input_css required email"   maxlength="100" value="<x:out select="$xmlData/data/proposal/contact_psn_email" />"/> 
		</td>
	</tr>
	<tr>
		<td  align="right">项目负责人：</td>
		<td>
		    <span name="proposal/fzr_psnname" ><x:out select="$xmlData/data/zh_persons/zh_person[@submit_psn='1']/basic_info/zh_name" /></span>
		</td>
		<td  align="right">联系电话：</td>
		<td  >
		<span name="proposal/fzr_tel" class="person"><x:out select="$xmlData/data/zh_persons/zh_person[@submit_psn='1']/contact/tel_work" /></span>
		</td>
		<td  align="right">联系手机：</td>
		<td  >
		<span name="proposal/fzr_mobile" ><x:out select="$xmlData/data/zh_persons/zh_person[@submit_psn='1']/contact/mobile" /></span>
		</td>
		<td  align="right">电子邮箱：</td>
		<td  >
		<span name="proposal/fzr_mail"><x:out select="$xmlData/data/zh_persons/zh_person[@submit_psn='1']/contact/email" /></span>
		</td>
	</tr>
	
	
</table>
<script type="text/javascript">
$(function(){
	
});

function percentage(id1,id2,id3){
	var val1 = $("#"+id1).val();
	var val2 = $("#"+id2).val();
	$("#"+id3).text(formatVal(val2*100/val1)+"%");
	
}



</script>

